﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace DTO
{
	[DataContract]
	public class Bill {
		public const String c_id = "id";
		private Int64 m_id;
		[DataMember]
		public Int64  id { 
			 get {return m_id;} 
			 set { m_id = value; } 
		}

		public const String c_customersId = "customersId";
		private Int64 m_customersId;
		[DataMember]
		public Int64  customersId { 
			 get {return m_customersId;} 
			 set { m_customersId = value; } 
		}

		public const String c_address = "address";
		private String m_address;
		[DataMember]
		public String  address { 
			 get {return m_address;} 
			 set { m_address = value; } 
		}

		public const String c_create_on = "create_on";
		private DateTime m_create_on;
		[DataMember]
		public DateTime  create_on { 
			 get {return m_create_on;} 
			 set { m_create_on = value; } 
		}

		public const String c_cardId = "cardId";
		private Int64 m_cardId;
		[DataMember]
		public Int64  cardId { 
			 get {return m_cardId;} 
			 set { m_cardId = value; } 
		}

		public const String c_total = "total";
		private Decimal m_total;
		[DataMember]
		public Decimal  total { 
			 get {return m_total;} 
			 set { m_total = value; } 
		}

		public const String c_discount = "discount";
		private Decimal m_discount;
		[DataMember]
		public Decimal  discount { 
			 get {return m_discount;} 
			 set { m_discount = value; } 
		}

		public const String c_payment = "payment";
		private Decimal m_payment;
		[DataMember]
		public Decimal  payment { 
			 get {return m_payment;} 
			 set { m_payment = value; } 
		}

		public const String c_arrears = "arrears";
		private Decimal m_arrears;
		[DataMember]
		public Decimal  arrears { 
			 get {return m_arrears;} 
			 set { m_arrears = value; } 
		}

		public const String c_credit = "credit";
		private String m_credit;
		[DataMember]
		public String  credit { 
			 get {return m_credit;} 
			 set { m_credit = value; } 
		}

		public const String c_status = "status";
		private Int32 m_status;
		[DataMember]
		public Int32  status { 
			 get {return m_status;} 
			 set { m_status = value; } 
		}

		public const String c_orderId = "orderId";
		private Int32 m_orderId;
		[DataMember]
		public Int32  orderId { 
			 get {return m_orderId;} 
			 set { m_orderId = value; } 
		}

		public const String c_isActive = "isActive";
		private Int32 m_isActive;
		[DataMember]
		public Int32  isActive { 
			 get {return m_isActive;} 
			 set { m_isActive = value; } 
		}

		public const String b_Bill = "Bill";

	}

 }
